package com.database.dao;

import java.util.List;

import com.database.model.User;

public interface UserMapper {
	User selectByAccount(User user);
	User selectByKey(User user);
	int deleteByKey(int userId);
	int insert(User user);
	int updateByKey(User user);
	List<User> getAll();
}
